<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    @include('public.h5_head')
    <title>举报</title>
    <script src="{{ env('CDN_DOMAIN_NAME') }}/js/commonjs/rem.js"></script>
    <link rel="stylesheet" type="text/css" href="{{ env('CDN_DOMAIN_NAME') }}/css/commoncss/common.css"/>
    <link rel="stylesheet" type="text/css" href="{{ env('CDN_DOMAIN_NAME') }}/css/report.css"/>
</head>
<script src="{{ env('CDN_DOMAIN_NAME') }}/js/app.js"></script>
<body>
<div id="report_box">
    <div class="wrap">
        <div class="report">
            <div class="report_top">
                <p class="report_p report_p1">该商品未获得出售权限</p>
                <p class="report_p">识别下方二维码进行举报</p>
            </div>
            <div class="report_content">
                <img class="report_img" src="/img/cxx.jpg"/>
            </div>
            <div class="report_bottom">
                <div  class="report_name">
                    <input type="text" readonly class="inp"  id="text" value="{{$order_num}}">
                    <input type="button" class="btn" value="复制" onclick="myCopy()" />
                </div>
                <div class="report_init">
                    <p class="init_p">温馨提示:</p>
                    <p class="init_p">1、点击复制按钮,复制订单号</p>
                    <p class="init_p">2、苹果手机点击复制之后再点击拷贝,复制订单号</p>
                    <p class="init_p">3、长按二维码识别添加客服</p>
                    <p class="init_p">4、将订单号发送给客服</p>
                </div>
            </div>
        </div>
    </div>
    <div class="hint" style="display:none;"><p class="hint_txt">复制成功</p></div>
</div>
</body>
<script>
    function myCopy(){
        var u = navigator.userAgent;
        if(u.indexOf('Android') > -1 || u.indexOf('Adr') > -1){//android终端
            $(".inp").select();
            document.execCommand("Copy")
            $(".hint").show(0).delay(1000).hide(0);
        }
        if(!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)){//ios终端
            $(".inp").focus();
            $(".inp").select();
            document.execCommand("SelectAll");
        }
    }
</script>
</html>
